home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cd %1
-
- cls
- echo -------------------------------------------------------------------------------- Any Image uninstallation procedure FMJ-Software --------------------------------------------------------------------------------
- echo Uninstalling... (%1)
-
- rem ** Clean up the registry **
- if exist AnyImage.exe goto runexe
- echo Error: Could not find AnyImage.exe
- echo.
- echo Uninstallation aborted!
- copy con con
- goto end
- :runexe
- echo Cleaning up the registry...
- dir > aiblock
- anyimage.exe -UNINSTALL
- :wait
- if exist aiblock goto wait
-
- rem ** Delete files? **
- if not exist aidel goto nodel
-
- echo Deleting files...
- del aidel
- :retry
- del anyimage.*
- if exist anyimage.exe goto retry
- if exist anyimage.gid attrib -h anyimage.gid
- if exist anyimage.gid del anyimage.gid
- if exist setup.exe del setup.exe
- if exist file_id.diz del file_id.diz
- del *.aip
- del *.txt
-
- echo.
- echo Done!
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- del uninst.bat
- goto end
-
- :nodel
- echo.
- echo Done! (No files deleted).
- echo.
-
- :end
-